package com.ruoyi.wordcloud.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 展示词云图对象 text_p
 * 
 * @author shiliu
 * @date 2024-04-26
 */
public class TextP extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long tpId;

    /** 输入文本 */
    @Excel(name = "输入文本")
    private String tpContext;

    /** 输出结果 */
    @Excel(name = "输出结果")
    private String tpResult;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 词云图从表信息 */
    private List<WordcloudSlave> wordcloudSlaveList;

    public void setTpId(Long tpId) 
    {
        this.tpId = tpId;
    }

    public Long getTpId() 
    {
        return tpId;
    }
    public void setTpContext(String tpContext) 
    {
        this.tpContext = tpContext;
    }

    public String getTpContext() 
    {
        return tpContext;
    }
    public void setTpResult(String tpResult) 
    {
        this.tpResult = tpResult;
    }

    public String getTpResult() 
    {
        return tpResult;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public List<WordcloudSlave> getWordcloudSlaveList()
    {
        return wordcloudSlaveList;
    }

    public void setWordcloudSlaveList(List<WordcloudSlave> wordcloudSlaveList)
    {
        this.wordcloudSlaveList = wordcloudSlaveList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tpId", getTpId())
            .append("tpContext", getTpContext())
            .append("tpResult", getTpResult())
            .append("type", getType())
            .append("wordcloudSlaveList", getWordcloudSlaveList())
            .toString();
    }
}
